package day11.packaging;

/**
 * @Auther:小陈的Java
 * 基本数据类型转字符串
 */
public class Demo4 {
    public static void main(String[] args) {
        int i = 1;
        String str = String.valueOf(i);
        System.out.println(str);
        boolean tag = true;
        String ss = String.valueOf(tag);
        System.out.println(ss);
        int k = 1;
        String s = k+"";
        System.out.println(s);
    }
}
